package com.community.backend.mapper;

import cn.hutool.system.UserInfo;
import com.community.backend.pojo.Admin;
import com.community.backend.pojo.dto.RegisterDTO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminMapper {
    void register(RegisterDTO registerDTO);

    Admin login(String username, String password);
}
